//头部栏触摸事件
var uCOut = document.getElementById("uCOut");
var uCOn = document.getElementById("uCOn");
var aUOut = document.getElementById("aUOut");
var aUOn = document.getElementById("aUOn");
function headimg(num){
	switch(num){
		case 1:
			uCOut.style.display = "none";
			uCOn.style.display = "block";
			break;
		case 2:
			uCOut.style.display = "block";
			uCOn.style.display = "none";
			break;
		case 3:
			aUOut.style.display = "none";
			aUOn.style.display = "block";
			break;
		case 4:
			aUOut.style.display = "block";
			aUOn.style.display = "none";
			break;
	}
}

//index注册登录按钮触摸事件
var register = document.getElementById("register");
var login = document.getElementById("login");
function headbutton(num){
	switch(num){
		case 1:
			register.style.opacity = "1";
			break;
		case 2:
			register.style.opacity = "0.7";
			break;
		case 3:
			login.style.opacity = "1";
			break;
		case 4:
			login.style.opacity = "0.7";
			break;
	}
}